package com.cloudservice.ccs.biz;

import com.cloudservice.ccs.entity.BlackList;
import com.cloudservice.ccs.model.BlackListDetail;
import com.cloudservice.ccs.model.BlackListWithCustomerServiceNickName;

import java.util.List;
import java.util.Map;

public interface IBlackListBiz {
    void save(BlackList blackList);

    void update(Integer id, BlackList blackList);

    void delete(Integer id);

    void partialUpdate(Integer id, Map<String, Object> fields);

    BlackList getOne(Integer id);

    List<BlackList> getAll();

    List<BlackListDetail> getAllWithCustomerInfo(Map<String, Object> conditions);

    List<BlackListWithCustomerServiceNickName> getByCustomerId(Integer customerId);
}
